#include<bits/stdc++.h>
using namespace std;
const int N=1e5+100;
int t,n;
int a[N];
int main(){
    freopen("color.in","r",stdin);
    freopen("color.out","w",stdout);
    scanf("%d",&t);
    while(t--){
        scanf("%d",&n);
        for(int i=1;i<=n;i++)
            scanf("%d",&a[i]);
        printf("1\n");
    }
    return 0;
} 